package com.betterman.config;

import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Mybatis 配置类
 * <strong> MapperScan 需要引入 tk 包中的注解 </strong>
 * @author <a href="mailto:foxfocus@163.com">fox</a>
 * @version 9:50 下午 2020/8/5
 */
@Configuration
@EnableTransactionManagement
@MapperScan(basePackages = "com.betterman.mapper")
public class MybatisConfig {
}
